/**
 * 
 */
package com.bestbuy.serviceimple;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;



import com.bestbuy.dao.ProductDao;
import com.bestbuy.pojo.Product;
import com.bestbuy.service.ProductService;

/**
 * @author Tuan
 *
 */
@Service
public class ProductServiceImpl implements ProductService{

	
	@Autowired
	private ProductDao productDAO;
	/* (non-Javadoc)
	 * @see com.bestbuy.service.ProductService#getListProduct()
	 */
	@Transactional
	public List<Product> getListProduct() {
		
		return productDAO.getListProduct();
	}

}
